package org.dea.util;

public class ExitTimer {
	
	public static void exit(final long millis){
		new Thread(){
			@Override
			public void run() {
				try {
					Thread.sleep(millis);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}finally{
					System.exit(0);
				}
			}
		}.start();
	}

}
